#include "ModellessDialog.h"


ModellessDialog::ModellessDialog(void)
{
}


ModellessDialog::~ModellessDialog(void)
{
}

void ModellessDialog::popup(float offsetX, float offsetY)
{
	Dialog::popup();
	modelLessDialogLayer->addChild(this);
}

void ModellessDialog::close()
{
	Dialog::close();
	CCNode* parent = this->getParent();
	if (parent != NULL)
		parent->removeChild(this,false);
}
